package cn.tuning.service;

import cn.tuning.entity.OrderInfo;
import cn.tuning.entity.RiderInfo;
import cn.tuning.pojo.APIResult;

/**
 * @author lixiaolong
 * @date 2021-08-06 21:59
 * @description:
 */

public interface OrderService {
    APIResult customerQueryOrder(String  customerId);

    APIResult riderQueryOrder(String username);

    APIResult publishOrder(OrderInfo orderInfo);

    APIResult finishOrder(String riderId, String OrderId);

    APIResult takeOrder(String riderId, String orderId);

    APIResult riderRegister(RiderInfo riderInfo);

    APIResult riderReceive(String riderId);

    APIResult getUserMassage(String username);

    APIResult getRiderMassage(String riderId);
}
